package com.yonyou.cyxdms.sysAuth.service.vo.role;

import io.swagger.models.auth.In;

import java.util.Arrays;

/**
 * 角色
 *
 * @author adu
 * @since 2019/9/19
 */
public class RolePageVO {

    private Integer dataType;

    private Integer dataSource;
    /**
     * ROLE_ID
     */
    private Integer roleId;
    /**
     * 经销商代码
     */
    private String dealerCode;

    /**
     * 角色代码
     */
    private String roleCode;
    /**
     * 角色名称
     */
    private String roleName;
    private Integer roleType;
    /*
     *是否固化
     */
    private Integer isFixed;
    /*
     *APP_ID
     */
    private String appId;

    private Integer isValid;

    /**
     * 角色属性
     */
    private String positionCode;
    private String codeCnDesc;
    private Integer companyType;
    private Integer compile;
    private Integer companyId;

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getCompile() {
        return compile;
    }

    public void setCompile(Integer compile) {
        this.compile = compile;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Integer getCompanyType() {
        return companyType;
    }

    public void setCompanyType(Integer companyType) {
        this.companyType = companyType;
    }

    public String getPositionCode() {
        return positionCode;
    }

    public void setPositionCode(String positionCode) {
        this.positionCode = positionCode;
    }

    public String getCodeCnDesc() {
        return codeCnDesc;
    }

    public void setCodeCnDesc(String codeCnDesc) {
        this.codeCnDesc = codeCnDesc;
    }

    @Override
    public String toString() {
        return "RolePageVO{" +
                "dataType=" + dataType +
                ", dataSource=" + dataSource +
                ", roleId=" + roleId +
                ", dealerCode='" + dealerCode + '\'' +
                ", roleCode='" + roleCode + '\'' +
                ", roleName='" + roleName + '\'' +
                ", isFixed=" + isFixed +
                ", appId='" + appId + '\'' +
                ", isValid=" + isValid +
                ", positionCode='" + positionCode + '\'' +
                ", codeCnDesc='" + codeCnDesc + '\'' +
                ", companyType=" + companyType +
                ", compile=" + compile +
                ", companyId=" + companyId +
                '}';
    }

    public Integer getDataSource() {
        return dataSource;
    }

    public void setDataSource(Integer dataSource) {
        this.dataSource = dataSource;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getIsFixed() {
        return isFixed;
    }

    public void setIsFixed(Integer isFixed) {
        this.isFixed = isFixed;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

}
